<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019-10-24
 * Time: 上午 11:10
 */

namespace App\Lib\DingDingNotice;


class House extends BaseNotice
{
    /*
     *
     * */
    public function __construct($platform,$name,
                                $phone,$pubDate,$token,$atMobiles = [],$isAtall = false)
    {
        $this->template = [
            "title"=>'房屋通知',
            'text'=>"#### 房屋通知
        \n\n >房源 : $platform
        \n\n >姓名 : $name
        \n\n >电话 : $phone
        \n\n >发布日期 : $pubDate"
        ];
        $this->token = $token;
        $this->atMobiles = $atMobiles;
        $this->isAtall = $isAtall;
    }

}